package com.hfut.jpoa.dao;

import com.hfut.jpoa.common.dto.ResultDto;
import com.hfut.jpoa.common.exception.DaoException;
import com.hfut.jpoa.dto.LogDTO;
import com.hfut.jpoa.model.Log;

public interface LogDAO
{
	int deleteByPrimaryKey(String id) throws DaoException;

	void insert(Log record) throws DaoException;

	void insertSelective(Log record) throws DaoException;

	Log selectByPrimaryKey(String id) throws DaoException;

	int updateByPrimaryKeySelective(Log record) throws DaoException;

	int updateByPrimaryKey(Log record) throws DaoException;

	/**
	 * 分页列表加载
	 * 
	 * @param condition
	 * @return
	 * @throws DaoException
	 */
	public ResultDto<Log> findInfoForPage(LogDTO condition) throws DaoException;
}